#ifndef ES_WIFIBASE_H_
#define ES_WIFIBASE_H_
#include "es_usart.h"

class es_WifiBase
{
private:
	//instance of the parser
//	es_ATparser parser;
	
	//status recorder

	
//	void (*WifiDataHandler)(u8*, u8);

public:
	inline void Init(void pack(u8* buff, u8 size), CUsart* usart );
	//connect to both WIFI and TCP
  inline void Connect();
	inline void Send(u8* data, u8 len);
	inline void NewByte(u8 val);
	//handle incoming commands
	inline void CommandHandler(u8* string, u8 len)
	{

	}

};


#endif
